package com.mvpandroiddemo.register;

/**
 * @Description $description$
 * @Author owner
 * @CreateTime 2019/10/15 14:31
 **/
public interface RegisterControl {

    interface IRegisterModel {

        void onRegister(String userName, String pwd, String rePwd, OnRegisterListener onRegisterListener);

        interface OnRegisterListener {
            void onRegisterSuccess(RegisterBean registerBean);

            void onRegisterFailed(String msg);
        }
    }

    interface IRegisterPresenter {

        void onRegister();
    }

    interface IRegisterView {

        String getUserName();

        String getPwd();

        String getRePwd();

        void registerSuccess();

        void registerFailed(String msg);
    }

}
